home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 417_01 / libftp / Makefile < prev   
Encoding:
Makefile  |  1994-03-24  |  1.0 KB  |  60 lines

  1. #
  2. #              Library for ftpd clients.(libftp)
  3. #            Copyright by Oleg Orel
  4. #             All rights reserved.
  5. #            
  6. #This  library is desined  for  free,  non-commercial  software  creation. 
  7. #It is changeable and can be improved. The author would greatly appreciate 
  8. #any  advises, new  components  and  patches  of  the  existing  programs.
  9. #Commercial  usage is  also  possible  with  participation of it's author.
  10. #
  11.  
  12.  
  13. LIBDIR        =    /usr/lib
  14. INCDIR        =    /usr/include 
  15. CFLAGS        =    
  16.  
  17. OBJS          = FtpBye.o \
  18.         FtpType.o \
  19.         FtpClose.o \
  20.         FtpCommand.o \
  21.         FtpConnect.o \
  22.         FtpData.o \
  23.         FtpDebug.o \
  24.         FtpFopen.o \
  25.         FtpFull.o \
  26.         FtpGetHost.o \
  27.         FtpGetMessage.o \
  28.         FtpGetString.o \
  29.         FtpGood.o \
  30.         FtpInitMessage.o \
  31.         FtpLogin.o \
  32.         FtpMessage.o \
  33.         FtpMove.o \
  34.         FtpNumber.o \
  35.         FtpOpenDir.o \
  36.         FtpPort.o \
  37.         FtpPwd.o \
  38.         FtpRead.o \
  39.         FtpRetrTimeout.o \
  40.         FtpStorTimeout.o \
  41.         FtpSendMessage.o \
  42.         FtpWrite.o 
  43.  
  44.  
  45. all:    libftp.a
  46.  
  47. libftp.a: $(OBJS)
  48.     rm -f $@
  49.     ar cq $@ $* $(OBJS)
  50.     ranlib $@
  51.  
  52.  
  53. install: all
  54.     cp libftp.a $(LIBDIR)
  55.     cp FtpLibrary.h $(INCDIR)
  56.  
  57.  
  58. clean: 
  59.     rm -f libftp.a $(OBJS)
  60.